package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.domain.PageRequest;

import java.util.Date;

@Data
public class Indent {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer goodsId;
    private String goodsName;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private Date indentTime;
    private Double goodsPrice;
    private String indentStatus;
    private Integer indentNums;
    private String indentNumber;
    private Integer indentUid;
    private String indentPicture;

    @TableField(exist = false)
    private String username;
}
